<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	ViewPdf
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>ViewPdf</h2>
    
    <% using (Html.BeginForm("GetPdf", "Psad", FormMethod.Post))
       { %>
        <fieldset>
        <p>
            <label for="token">Token Base64:</label>
            <%= Html.TextArea("token", new { columns = 50, rows = 10 })%>
        </p>
        <p>
            <label for="sign">Sign Base64:</label>
            <%= Html.TextArea("sign", new { columns = 50, rows = 10 })%>
        </p>
        <p>
            <input type="submit" value="Get PDF!" />
        </p>
        </fieldset>
    <% } %>
    <div>
        <%=Html.ActionLink("Volver al listado", "Index")%>
    </div>

</asp:Content>
